﻿<%@ Page Language="C#" MasterPageFile="~/masterpages/default.master" AutoEventWireup="true" CodeFile="interestme.aspx.cs" Inherits="VISS.Web.Frontend.Modules.User.Profile.InterestMePage" Title="Untitled Page" %>
<%@ Register Src="~/modules/user/profiles/controls/interestMeDetail.ascx" TagName="interestMeDetail" TagPrefix="viss" %>
<%@ Register Src="~/modules/user/profiles/controls/interestMeThumb.ascx" TagName="interestMeThumb" TagPrefix="viss" %>

<asp:Content ID="Content1" ContentPlaceHolderID="idHeadPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="idContainerContent" ContentPlaceHolderID="idContainerPlaceHolder" runat="Server">
    <div id="interest-me-page">
        <div class="header">
            <div class="left"><%=TotalRecord %> người quan tâm bạn</div>
            <div class="right">
                Xem theo 
                <% if (ViewType == VISS.Web.Frontend.Modules.User.Profile.EInterestViewType.Thumb) { %>
                <input type="button" id="btnViewResult" name="btnViewResult" class="view-type view-detail" onclick="ChangeInterestViewType('detail');" Title="Chi tiết" />
                <% }
                   else { %>
                <input type="button" id="btnViewResult" name="btnViewResult" class="view-type view-thumb" onclick="ChangeInterestViewType('thumb');" Title="Khung ảnh" />
                <% } %>
            </div>
        </div>
        <div class="content">
        <% if (TotalRecord > 0) { %>
            <% if (ViewType == VISS.Web.Frontend.Modules.User.Profile.EInterestViewType.Thumb) { %>
            <viss:interestMeThumb ID="idInterestMeThumb" runat="server" EnableViewState="false" />
            <% } %>
            <% else { %>
            <viss:interestMeDetail ID="idInterestMeDetail" runat="server" EnableViewState="false" />
            <% } %>
        <% } else { %>
            <div style="height: 400px; padding-top: 20px; text-align: center" >Hiện chưa có thành viên quan tâm bạn</div>
        <% } %>
        </div>
        <div class="footer">
            <div class="footer-left">
                <span id="span-total"><%=TotalRecord %> người quan tâm bạn</span>
            </div>
            <div class="footer-right"><%=Paging %></div>
        </div>
    </div>
    <% if (ViewType == VISS.Web.Frontend.Modules.User.Profile.EInterestViewType.Thumb) { %>
        <input type="hidden" id="ViewType" value="thumb" />   
    <% }
       else { %>
        <input type="hidden" id="ViewType" value="detail" />
    <% } %>
    <% if (CanSendMessage) {%>
        <input type="hidden" id="CanSendMessage" value="true" />
    <% } else { %>
        <input type="hidden" id="CanSendMessage" value="false" />
    <% } %>
</asp:Content>
